﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012F9 RID: 4857
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncRogueGetItemScNotify : IMessage<SyncRogueGetItemScNotify>, IMessage, IEquatable<SyncRogueGetItemScNotify>, IDeepCloneable<SyncRogueGetItemScNotify>, IBufferMessage
	{
		// Token: 0x17003D51 RID: 15697
		// (get) Token: 0x0600D976 RID: 55670 RVA: 0x00246E93 File Offset: 0x00245093
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncRogueGetItemScNotify> Parser
		{
			get
			{
				return SyncRogueGetItemScNotify._parser;
			}
		}

		// Token: 0x17003D52 RID: 15698
		// (get) Token: 0x0600D977 RID: 55671 RVA: 0x00246E9A File Offset: 0x0024509A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncRogueGetItemScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003D53 RID: 15699
		// (get) Token: 0x0600D978 RID: 55672 RVA: 0x00246EAC File Offset: 0x002450AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncRogueGetItemScNotify.Descriptor;
			}
		}

		// Token: 0x0600D979 RID: 55673 RVA: 0x00246EB3 File Offset: 0x002450B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueGetItemScNotify()
		{
		}

		// Token: 0x0600D97A RID: 55674 RVA: 0x00246EBC File Offset: 0x002450BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueGetItemScNotify(SyncRogueGetItemScNotify other) : this()
		{
			this.getItemList_ = ((other.getItemList_ != null) ? other.getItemList_.Clone() : null);
			this.bPJMEJCLOPP_ = ((other.bPJMEJCLOPP_ != null) ? other.bPJMEJCLOPP_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D97B RID: 55675 RVA: 0x00246F18 File Offset: 0x00245118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueGetItemScNotify Clone()
		{
			return new SyncRogueGetItemScNotify(this);
		}

		// Token: 0x17003D54 RID: 15700
		// (get) Token: 0x0600D97C RID: 55676 RVA: 0x00246F20 File Offset: 0x00245120
		// (set) Token: 0x0600D97D RID: 55677 RVA: 0x00246F28 File Offset: 0x00245128
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList GetItemList
		{
			get
			{
				return this.getItemList_;
			}
			set
			{
				this.getItemList_ = value;
			}
		}

		// Token: 0x17003D55 RID: 15701
		// (get) Token: 0x0600D97E RID: 55678 RVA: 0x00246F31 File Offset: 0x00245131
		// (set) Token: 0x0600D97F RID: 55679 RVA: 0x00246F39 File Offset: 0x00245139
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList BPJMEJCLOPP
		{
			get
			{
				return this.bPJMEJCLOPP_;
			}
			set
			{
				this.bPJMEJCLOPP_ = value;
			}
		}

		// Token: 0x0600D980 RID: 55680 RVA: 0x00246F42 File Offset: 0x00245142
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncRogueGetItemScNotify);
		}

		// Token: 0x0600D981 RID: 55681 RVA: 0x00246F50 File Offset: 0x00245150
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncRogueGetItemScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.GetItemList, other.GetItemList) && object.Equals(this.BPJMEJCLOPP, other.BPJMEJCLOPP) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D982 RID: 55682 RVA: 0x00246FA4 File Offset: 0x002451A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.getItemList_ != null)
			{
				num ^= this.GetItemList.GetHashCode();
			}
			if (this.bPJMEJCLOPP_ != null)
			{
				num ^= this.BPJMEJCLOPP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D983 RID: 55683 RVA: 0x00246FF6 File Offset: 0x002451F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D984 RID: 55684 RVA: 0x00246FFE File Offset: 0x002451FE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D985 RID: 55685 RVA: 0x00247008 File Offset: 0x00245208
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.getItemList_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.GetItemList);
			}
			if (this.bPJMEJCLOPP_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.BPJMEJCLOPP);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D986 RID: 55686 RVA: 0x00247064 File Offset: 0x00245264
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.getItemList_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GetItemList);
			}
			if (this.bPJMEJCLOPP_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BPJMEJCLOPP);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D987 RID: 55687 RVA: 0x002470BC File Offset: 0x002452BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncRogueGetItemScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.getItemList_ != null)
			{
				if (this.getItemList_ == null)
				{
					this.GetItemList = new ItemList();
				}
				this.GetItemList.MergeFrom(other.GetItemList);
			}
			if (other.bPJMEJCLOPP_ != null)
			{
				if (this.bPJMEJCLOPP_ == null)
				{
					this.BPJMEJCLOPP = new ItemList();
				}
				this.BPJMEJCLOPP.MergeFrom(other.BPJMEJCLOPP);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D988 RID: 55688 RVA: 0x0024713C File Offset: 0x0024533C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D989 RID: 55689 RVA: 0x00247148 File Offset: 0x00245348
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 106U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.bPJMEJCLOPP_ == null)
						{
							this.BPJMEJCLOPP = new ItemList();
						}
						input.ReadMessage(this.BPJMEJCLOPP);
					}
				}
				else
				{
					if (this.getItemList_ == null)
					{
						this.GetItemList = new ItemList();
					}
					input.ReadMessage(this.GetItemList);
				}
			}
		}

		// Token: 0x04005684 RID: 22148
		private static readonly MessageParser<SyncRogueGetItemScNotify> _parser = new MessageParser<SyncRogueGetItemScNotify>(() => new SyncRogueGetItemScNotify());

		// Token: 0x04005685 RID: 22149
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005686 RID: 22150
		public const int GetItemListFieldNumber = 2;

		// Token: 0x04005687 RID: 22151
		private ItemList getItemList_;

		// Token: 0x04005688 RID: 22152
		public const int BPJMEJCLOPPFieldNumber = 13;

		// Token: 0x04005689 RID: 22153
		private ItemList bPJMEJCLOPP_;
	}
}
